.class public Lde/dealdoktor/app/widgetprovider/DealdoktorAppWidgetProvider;
.super Landroid/appwidget/AppWidgetProvider;
.source "DealdoktorAppWidgetProvider.java"


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 9
    invoke-direct {p0}, Landroid/appwidget/AppWidgetProvider;-><init>()V

    return-void
.end method


# virtual methods
.method public onUpdate(Landroid/content/Context;Landroid/appwidget/AppWidgetManager;[I)V
    .locals 6
    .parameter "context"
    .parameter "appWidgetManager"
    .parameter "appWidgetIds"

    .prologue
    .line 12
    array-length v0, p3

    .line 15
    .local v0, N:I
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-lt v2, v0, :cond_0

    .line 32
    return-void

    .line 16
    :cond_0
    aget v1, p3, v2

    .line 24
    .local v1, appWidgetId:I
    new-instance v3, Landroid/widget/RemoteViews;

    invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v4

    const v5, 0x7f030015

    invoke-direct {v3, v4, v5}, Landroid/widget/RemoteViews;-><init>(Ljava/lang/String;I)V

    .line 26
    .local v3, views:Landroid/widget/RemoteViews;
    const v4, 0x7f0b0043

    const-string v5, "Test"

    invoke-virtual {v3, v4, v5}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 27
    const v4, 0x7f0b0044

    const-string v5, "Dies ist ein Auschnitt..."

    invoke-virtual {v3, v4, v5}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 30
    invoke-virtual {p2, v1, v3}, Landroid/appwidget/AppWidgetManager;->updateAppWidget(ILandroid/widget/RemoteViews;)V

    .line 15
    add-int/lit8 v2, v2, 0x1

    goto :goto_0
.end method
